﻿using Pay.DTO;
using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.IService
{
    public interface IInviteHorsePowerSettingService {
        /// <summary>
        /// 获得分页列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        PagedResult<invite_horse_power_setting_dto> GetInviteHorsePowerSettings(InviteHorsePowerSettingQuery query);

        /// <summary>
        /// 获得邀请好友马力设置
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        invite_horse_power_setting_dto GetInviteHorsePowerSetting(long id);

        /// <summary>
        /// 新增邀请好友马力设置
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        int AddInviteHorsePowerSetting(invite_horse_power_setting_dto dto);

        /// <summary>
        /// 更新邀请好友马力设置
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        int UpdateInviteHorsePowerSetting(invite_horse_power_setting_dto dto);

        /// <summary>
        /// 修改邀请好友马力设置状态
        /// </summary>
        /// <param name="id"></param>
        /// <param name="status"></param>
        /// <returns></returns>
        int UpdateInviteHorsePowerSettingStatus(long id, int status);
        /// <summary>
        /// 获取邀请好友马力设置
        /// </summary>
        /// <param name="time"></param>
        /// <returns></returns>
        invite_horse_power_setting_dto GetInviteHorsePowerSettingByTime(DateTime time);
    }
}
